@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;

}

#wrap {
    padding: 20px 0;
    width: 1200px;
    margin: auto;
}

/*==================================头部=========================================*/
.header {
    border-bottom: 8px solid rgba(151, 151, 151, 0.51);
    padding-bottom: 10px;
}

.header .closePage {
    display: block;
    height: 30px;
    width: 70px;
    background: red;
    float: right;
    text-align: center;
    line-height: 30px;
    border-radius: 10px;
}

.header .closePage a {
    text-decoration: none;
    color: white;
}

.header .closePage:hover {
    background: rgb(191, 0, 0);
    border: 1px solid #fff;
    color: red;
}

/*==================================中间表单=========================================*/
.main {
    padding: 20px 20px;
}

.main a {
    text-decoration: none;
    color: black;
}

.inp {
    display: none;
}

.inp + label {
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
    top: 2px;
    left: 15px;
    background: red;
    border-radius: 5px;
    margin-left: 20px;
}

.inp:checked + label::before {
    display: block;
    content: "\2714";
    text-align: center;
    font-size: 16px;
    color: white;
}

#list {
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: -1;
    top: -20px;
}

#list li:nth-of-type(5) {
    margin: 0 50px;
}

#list li:nth-of-type(2) {
    margin: 0 80px
}

#shop{
    display: flex;
    margin: 20px 0;
}

#shop label{
    margin-right: 10px;
}

.content {
    background: #f6f6f6;
    border: 1px solid #cbcbcb;
    position: relative;
}

.long-string {
    position: absolute;
    width: 1px;
    height: 100%;
    left: 220px;
    border-right: 1px dotted #000;
    top: 0

}

.right-box > hr {
    display: block;
    margin: auto;
    width: 80%;
    height: 1px;
    border: .1px solid #cbcbcb;
    position: absolute;
    bottom: 0;
    right: 0;
}

.number {
    width: 80px;
    height: 22px;
    display: flex;
    justify-content: space-between;
}

.number > input {
    height: 22px;
    width: 40px;
    border-top: 1px solid #959595;
    border-bottom: 1px solid #959595;
    border-right: 0;
    border-left: 0;
    text-align: center;
}

.number > a {
    background: #cbcbcb;
    height: 100%;
    width: 20px;
    line-height: 20px;
    text-align: center;
    border: 1px solid #959595;
}

.number > a:active {
    background: #d9d9d9;
    color: white;
}

.delete {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.delete > a:nth-of-type(1) {
    margin-bottom: 10px;
}

.delete > a:hover {
    color: red;
}

.right-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.right-box > img {
    height: 100px;
    position: relative;
}

.right-box > a {
    color: teal;
    width: 100px;
    margin-left: -100px;
}

.right-box > p:nth-of-type(1) {
    width: 90px;
    margin-left: -30px;
}

.right-box > div {
    margin-left: -50px;
    background: black;
}


.right-box > p:nth-of-type(2) {
    width: 100px;
}

/*========================================底部==============================*/

.footer {
    display: flex;
    width: 1198px;
    margin-left: 20px;
}

#zuo {
    display: flex;
    height: 80px;
    width: 500px;
    background: #f6f6f6;
    align-items: center;
    position: relative;
}

#zuo p:nth-of-type(1) {
    margin-left: 5px;
    margin-right: 50px;
    color: #797979;
}

#zuo p:nth-of-type(2) {
    margin-left: 5px;
    margin-right: 110px;
    color: #797979;
}

#shu {
    color: red;
}

#zuo::after {
    display: block;
    content: "";
    width: 40px;
    height: 20px;
    background: #9d9d9d;
    transform-origin: left bottom;
    transform: rotate(-15deg);
    position: absolute;
    top: 70px;
    right: 0;
    z-index: -8;
}

#you {
    height: 80px;
    width: 700px;
    background: #d8d8d8;
    position: relative;
    top: 10px;
    left: -40px;
    z-index: -10;
    padding-left: 200px;
    display: table;
}

#wen {
    margin-top: 20px;
}

#jiesuan {
    width: 80px;
    height: 30px;
    background: red;
    border: 0;
    color: white;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 20px;
}

/*/////////////////////////////////点击删除//////////////////////////////////////*/
.divBj {
    width: 100%;
    height: 100%;
    background: black;
    position: fixed;
    top: 0;
    z-index: 10;
    opacity: .3;
}

.sureDelete {
    border-radius: 10px;
    width: 400px;
    height: 200px;
    position: fixed;
    background: white;
    box-shadow:0 0 4px rgba(0,0,0,.75);
    z-index: 11;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
}

.sureDelete p{
    text-align: center;
    line-height: 100px;
    font-size: 20px;
}

.sureDelete button{
    width: 100px;
    height: 40px;
    border: 0;
    font-size: 16px;
    margin-left: 64px;
}

.sureDelete button:nth-of-type(1){

}

.sureDelete button:nth-of-type(2){
    background: red;
    color: white;
}